/*
 * Person.java
 *
 * Created on 19 december 2007, 22:52
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.gwtrpcnettest.client;

import com.google.gwt.user.client.rpc.*;

/**
 *
 * @author Mark
 */
public class Person implements IsSerializable {
    
    private String name;
    private String email;
    private int age;
    
    /** Creates a new instance of Person */
    public Person() {
    }
    
    public Person(String name, String email, int age) {
        this.name = name;
        this.email = email;
        this.age = age;

        /*list = new java.util.ArrayList();
        list.add(new Integer(33333));
        list.add(new Integer(23222));
        list.add(new Integer(44556));*/
    }

    public int getAge()
    {
        return age;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public void setAge(int age)
    {
        this.age = age;
    }
}
